import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from "axios";

Vue.use(ElementUI)

//发送请求的公共路径
axios.defaults.baseURL = 'https://www.fastmock.site/mock/d766d205ace54331e25258d25016eb54/pethome'
//对vue对象属性扩展
Vue.prototype.$http = axios
Vue.config.productionTip = false
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
